package cn.tedu.douguo.user.mapper;

import cn.tedu.douguo.user.pojo.entity.User;
import cn.tedu.douguo.user.pojo.vo.UserListInfoVO;
import cn.tedu.douguo.user.pojo.vo.UserLoginInfoVO;
import cn.tedu.douguo.user.pojo.vo.UserNavInfoVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper extends BaseMapper<User> {
    UserLoginInfoVO getLoginInfoByUsername(String username);

    UserNavInfoVO getUserInfoById(Long userId);
}
